package repository

import "cvevulner/cve-ddd/domain"

type Option struct {
	CveNum          []string
	Component       string
	AffectedVersion string
}

type CveRepository interface {
	FindCves(option Option) (domain.Cves, error)
	MaxBulletinID() (string, error)
	IssueNumExist(num string) bool
	SaveIssueNum(num string) error
}
